const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  userId: (state) => state.user.userInfo.userId,
  name: (state) => state.user.userInfo.username,
  staffPhoto: (state) => state.user.userInfo.staffPhoto,
  kkyCount: (state) => state.count,
  companyId: (state) => state.user.userInfo.companyId,
  routes: (state) => state.permission.routes,
  // avatar: state => state.user.avatar,
};
export default getters;
